package com.sxu.demo.controller;

import lombok.extern.slf4j.Slf4j;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

@Slf4j
@RequestMapping("/logger")
@RestController
public class LoggerController {

    @RequestMapping("/log")
    public String log(){
        log.info("打印日志");
        return "success";
    }
}
